<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
<div class="am-u-lg-2 am-cf am-hide-sm am-hide-md">
            <div class="sidebar">
                <div class="sidebar-top am-cf">
                    <div class="sidebar-top-bars am-fr">
                        <form class="am-topbar-form am-topbar-left am-form-inline" role="search" action="" method="post">
                            <div class="am-form-group am-cf">
                                <input type="text" name="s" class="am-fl sidebar-top-search" placeholder="搜索">
                                <button type="submit" id="search" class="sidebar-top-button"><span class="am-icon-search"></span></button>
                            </div>
                        </form>
                    </div>
                </div>
                <div class="sidebar-profile-photo am-cf">
                    <div class="am-center">
                        <a href="<?php $this->options->siteUrl(); ?>"><img class="am-img-thumbnail am-circle" src="<?php $this->options->logoUrl() ?>" alt="<?php $this->author(); ?>" width="70" height="70"></a>
                    </div>
                </div>
                <div class="sidebar-blogger am-cf">
                    <div class="sidebar-blogger-name">
                        <p><?php $this->author(); ?></p>
                    </div>
                    <div class="sidebar-blogger-desc">
                        <p><?php $this->options->introduce() ?></p>
                    </div>
                </div>
                <div class="sidebar-statistics am-cf">
                    <div class="sidebar-statistics-left am-fl">
                        <?php Typecho_Widget::widget('Widget_Stat')->to($stat); ?>
                        <p><?php $stat->publishedPostsNum() ?></p>
                        <p style="font-size: 15px">日志</p>
                    </div>
                    <div class="sidebar-statistics-left am-fr">
                        <p><?php $stat->publishedCommentsNum() ?></p>
                        <p style="font-size: 15px">评论</p>
                    </div>
                </div>
                <!--导航栏-->
                <nav class="menu">
                    <ul class="am-nav am-center">
                        <li<?php if($this->is('index')): ?> class="am-active"<?php endif; ?> ><a href="<?php $this->options->siteUrl(); ?>"><?php _e('首页'); ?></a></li>
                        <?php $this->widget('Widget_Contents_Page_List')->to($pages); ?>
                        <?php while($pages->next()): ?>
                            <li<?php if($this->is('page', $pages->slug)): ?> class="am-active"<?php endif; ?> ><a href="<?php $pages->permalink(); ?>" title="<?php $pages->title(); ?>"><?php $pages->title(); ?></a></li>
                        <?php endwhile; ?>
                    </ul>
                </nav>
            </div>
        </div>